package designmode.design7;

/**
 * 汽车类
 *
 * @author lfg
 * @version 1.0
 */
public class Car {

    /**
     * 动力源类型
     */
    private CarPowerEnum power;

    /**
     * 颜色
     */
    private CarColorEnum color;

    public CarPowerEnum getPower() {
        return power;
    }

    public void setPower(CarPowerEnum power) {
        this.power = power;
    }

    public CarColorEnum getColor() {
        return color;
    }

    public void setColor(CarColorEnum color) {
        this.color = color;
    }
}
